package com.rc.evcharger.model.rc;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class RcElecPileFaultRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RcElecPileFaultRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPileFaultRecordIdIsNull() {
            addCriterion("pile_fault_record_id is null");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdIsNotNull() {
            addCriterion("pile_fault_record_id is not null");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdEqualTo(Long value) {
            addCriterion("pile_fault_record_id =", value, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdNotEqualTo(Long value) {
            addCriterion("pile_fault_record_id <>", value, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdGreaterThan(Long value) {
            addCriterion("pile_fault_record_id >", value, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdGreaterThanOrEqualTo(Long value) {
            addCriterion("pile_fault_record_id >=", value, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdLessThan(Long value) {
            addCriterion("pile_fault_record_id <", value, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdLessThanOrEqualTo(Long value) {
            addCriterion("pile_fault_record_id <=", value, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdIn(List<Long> values) {
            addCriterion("pile_fault_record_id in", values, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdNotIn(List<Long> values) {
            addCriterion("pile_fault_record_id not in", values, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdBetween(Long value1, Long value2) {
            addCriterion("pile_fault_record_id between", value1, value2, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andPileFaultRecordIdNotBetween(Long value1, Long value2) {
            addCriterion("pile_fault_record_id not between", value1, value2, "pileFaultRecordId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNull() {
            addCriterion("elec_station_id is null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIsNotNull() {
            addCriterion("elec_station_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecStationIdEqualTo(Long value) {
            addCriterion("elec_station_id =", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotEqualTo(Long value) {
            addCriterion("elec_station_id <>", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThan(Long value) {
            addCriterion("elec_station_id >", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_station_id >=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThan(Long value) {
            addCriterion("elec_station_id <", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_station_id <=", value, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdIn(List<Long> values) {
            addCriterion("elec_station_id in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotIn(List<Long> values) {
            addCriterion("elec_station_id not in", values, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdBetween(Long value1, Long value2) {
            addCriterion("elec_station_id between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecStationIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_station_id not between", value1, value2, "elecStationId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNull() {
            addCriterion("elec_pile_id is null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIsNotNull() {
            addCriterion("elec_pile_id is not null");
            return (Criteria) this;
        }

        public Criteria andElecPileIdEqualTo(Long value) {
            addCriterion("elec_pile_id =", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotEqualTo(Long value) {
            addCriterion("elec_pile_id <>", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThan(Long value) {
            addCriterion("elec_pile_id >", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdGreaterThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id >=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThan(Long value) {
            addCriterion("elec_pile_id <", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdLessThanOrEqualTo(Long value) {
            addCriterion("elec_pile_id <=", value, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdIn(List<Long> values) {
            addCriterion("elec_pile_id in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotIn(List<Long> values) {
            addCriterion("elec_pile_id not in", values, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andElecPileIdNotBetween(Long value1, Long value2) {
            addCriterion("elec_pile_id not between", value1, value2, "elecPileId");
            return (Criteria) this;
        }

        public Criteria andPileNoIsNull() {
            addCriterion("pile_no is null");
            return (Criteria) this;
        }

        public Criteria andPileNoIsNotNull() {
            addCriterion("pile_no is not null");
            return (Criteria) this;
        }

        public Criteria andPileNoEqualTo(String value) {
            addCriterion("pile_no =", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoNotEqualTo(String value) {
            addCriterion("pile_no <>", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoGreaterThan(String value) {
            addCriterion("pile_no >", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoGreaterThanOrEqualTo(String value) {
            addCriterion("pile_no >=", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoLessThan(String value) {
            addCriterion("pile_no <", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoLessThanOrEqualTo(String value) {
            addCriterion("pile_no <=", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoLike(String value) {
            addCriterion("pile_no like", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoNotLike(String value) {
            addCriterion("pile_no not like", value, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoIn(List<String> values) {
            addCriterion("pile_no in", values, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoNotIn(List<String> values) {
            addCriterion("pile_no not in", values, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoBetween(String value1, String value2) {
            addCriterion("pile_no between", value1, value2, "pileNo");
            return (Criteria) this;
        }

        public Criteria andPileNoNotBetween(String value1, String value2) {
            addCriterion("pile_no not between", value1, value2, "pileNo");
            return (Criteria) this;
        }

        public Criteria andGunNumIsNull() {
            addCriterion("gun_num is null");
            return (Criteria) this;
        }

        public Criteria andGunNumIsNotNull() {
            addCriterion("gun_num is not null");
            return (Criteria) this;
        }

        public Criteria andGunNumEqualTo(String value) {
            addCriterion("gun_num =", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotEqualTo(String value) {
            addCriterion("gun_num <>", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumGreaterThan(String value) {
            addCriterion("gun_num >", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumGreaterThanOrEqualTo(String value) {
            addCriterion("gun_num >=", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumLessThan(String value) {
            addCriterion("gun_num <", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumLessThanOrEqualTo(String value) {
            addCriterion("gun_num <=", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumLike(String value) {
            addCriterion("gun_num like", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotLike(String value) {
            addCriterion("gun_num not like", value, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumIn(List<String> values) {
            addCriterion("gun_num in", values, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotIn(List<String> values) {
            addCriterion("gun_num not in", values, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumBetween(String value1, String value2) {
            addCriterion("gun_num between", value1, value2, "gunNum");
            return (Criteria) this;
        }

        public Criteria andGunNumNotBetween(String value1, String value2) {
            addCriterion("gun_num not between", value1, value2, "gunNum");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeIsNull() {
            addCriterion("pile_fault_type is null");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeIsNotNull() {
            addCriterion("pile_fault_type is not null");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeEqualTo(String value) {
            addCriterion("pile_fault_type =", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeNotEqualTo(String value) {
            addCriterion("pile_fault_type <>", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeGreaterThan(String value) {
            addCriterion("pile_fault_type >", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeGreaterThanOrEqualTo(String value) {
            addCriterion("pile_fault_type >=", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeLessThan(String value) {
            addCriterion("pile_fault_type <", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeLessThanOrEqualTo(String value) {
            addCriterion("pile_fault_type <=", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeLike(String value) {
            addCriterion("pile_fault_type like", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeNotLike(String value) {
            addCriterion("pile_fault_type not like", value, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeIn(List<String> values) {
            addCriterion("pile_fault_type in", values, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeNotIn(List<String> values) {
            addCriterion("pile_fault_type not in", values, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeBetween(String value1, String value2) {
            addCriterion("pile_fault_type between", value1, value2, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultTypeNotBetween(String value1, String value2) {
            addCriterion("pile_fault_type not between", value1, value2, "pileFaultType");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailIsNull() {
            addCriterion("pile_fault_detail is null");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailIsNotNull() {
            addCriterion("pile_fault_detail is not null");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailEqualTo(String value) {
            addCriterion("pile_fault_detail =", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailNotEqualTo(String value) {
            addCriterion("pile_fault_detail <>", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailGreaterThan(String value) {
            addCriterion("pile_fault_detail >", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailGreaterThanOrEqualTo(String value) {
            addCriterion("pile_fault_detail >=", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailLessThan(String value) {
            addCriterion("pile_fault_detail <", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailLessThanOrEqualTo(String value) {
            addCriterion("pile_fault_detail <=", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailLike(String value) {
            addCriterion("pile_fault_detail like", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailNotLike(String value) {
            addCriterion("pile_fault_detail not like", value, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailIn(List<String> values) {
            addCriterion("pile_fault_detail in", values, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailNotIn(List<String> values) {
            addCriterion("pile_fault_detail not in", values, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailBetween(String value1, String value2) {
            addCriterion("pile_fault_detail between", value1, value2, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultDetailNotBetween(String value1, String value2) {
            addCriterion("pile_fault_detail not between", value1, value2, "pileFaultDetail");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeIsNull() {
            addCriterion("pile_fault_code is null");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeIsNotNull() {
            addCriterion("pile_fault_code is not null");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeEqualTo(String value) {
            addCriterion("pile_fault_code =", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeNotEqualTo(String value) {
            addCriterion("pile_fault_code <>", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeGreaterThan(String value) {
            addCriterion("pile_fault_code >", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeGreaterThanOrEqualTo(String value) {
            addCriterion("pile_fault_code >=", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeLessThan(String value) {
            addCriterion("pile_fault_code <", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeLessThanOrEqualTo(String value) {
            addCriterion("pile_fault_code <=", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeLike(String value) {
            addCriterion("pile_fault_code like", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeNotLike(String value) {
            addCriterion("pile_fault_code not like", value, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeIn(List<String> values) {
            addCriterion("pile_fault_code in", values, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeNotIn(List<String> values) {
            addCriterion("pile_fault_code not in", values, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeBetween(String value1, String value2) {
            addCriterion("pile_fault_code between", value1, value2, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultCodeNotBetween(String value1, String value2) {
            addCriterion("pile_fault_code not between", value1, value2, "pileFaultCode");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelIsNull() {
            addCriterion("pile_fault_level is null");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelIsNotNull() {
            addCriterion("pile_fault_level is not null");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelEqualTo(Integer value) {
            addCriterion("pile_fault_level =", value, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelNotEqualTo(Integer value) {
            addCriterion("pile_fault_level <>", value, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelGreaterThan(Integer value) {
            addCriterion("pile_fault_level >", value, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelGreaterThanOrEqualTo(Integer value) {
            addCriterion("pile_fault_level >=", value, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelLessThan(Integer value) {
            addCriterion("pile_fault_level <", value, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelLessThanOrEqualTo(Integer value) {
            addCriterion("pile_fault_level <=", value, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelIn(List<Integer> values) {
            addCriterion("pile_fault_level in", values, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelNotIn(List<Integer> values) {
            addCriterion("pile_fault_level not in", values, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelBetween(Integer value1, Integer value2) {
            addCriterion("pile_fault_level between", value1, value2, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andPileFaultLevelNotBetween(Integer value1, Integer value2) {
            addCriterion("pile_fault_level not between", value1, value2, "pileFaultLevel");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNull() {
            addCriterion("created_by is null");
            return (Criteria) this;
        }

        public Criteria andCreatedByIsNotNull() {
            addCriterion("created_by is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedByEqualTo(String value) {
            addCriterion("created_by =", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotEqualTo(String value) {
            addCriterion("created_by <>", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThan(String value) {
            addCriterion("created_by >", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByGreaterThanOrEqualTo(String value) {
            addCriterion("created_by >=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThan(String value) {
            addCriterion("created_by <", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLessThanOrEqualTo(String value) {
            addCriterion("created_by <=", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByLike(String value) {
            addCriterion("created_by like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotLike(String value) {
            addCriterion("created_by not like", value, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByIn(List<String> values) {
            addCriterion("created_by in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotIn(List<String> values) {
            addCriterion("created_by not in", values, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByBetween(String value1, String value2) {
            addCriterion("created_by between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedByNotBetween(String value1, String value2) {
            addCriterion("created_by not between", value1, value2, "createdBy");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNull() {
            addCriterion("created_time is null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIsNotNull() {
            addCriterion("created_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeEqualTo(Date value) {
            addCriterion("created_time =", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotEqualTo(Date value) {
            addCriterion("created_time <>", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThan(Date value) {
            addCriterion("created_time >", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("created_time >=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThan(Date value) {
            addCriterion("created_time <", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("created_time <=", value, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeIn(List<Date> values) {
            addCriterion("created_time in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotIn(List<Date> values) {
            addCriterion("created_time not in", values, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeBetween(Date value1, Date value2) {
            addCriterion("created_time between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andCreatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("created_time not between", value1, value2, "createdTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNull() {
            addCriterion("last_updated_by is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIsNotNull() {
            addCriterion("last_updated_by is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByEqualTo(String value) {
            addCriterion("last_updated_by =", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotEqualTo(String value) {
            addCriterion("last_updated_by <>", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThan(String value) {
            addCriterion("last_updated_by >", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByGreaterThanOrEqualTo(String value) {
            addCriterion("last_updated_by >=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThan(String value) {
            addCriterion("last_updated_by <", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLessThanOrEqualTo(String value) {
            addCriterion("last_updated_by <=", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByLike(String value) {
            addCriterion("last_updated_by like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotLike(String value) {
            addCriterion("last_updated_by not like", value, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByIn(List<String> values) {
            addCriterion("last_updated_by in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotIn(List<String> values) {
            addCriterion("last_updated_by not in", values, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByBetween(String value1, String value2) {
            addCriterion("last_updated_by between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedByNotBetween(String value1, String value2) {
            addCriterion("last_updated_by not between", value1, value2, "lastUpdatedBy");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNull() {
            addCriterion("last_updated_time is null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIsNotNull() {
            addCriterion("last_updated_time is not null");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeEqualTo(Date value) {
            addCriterion("last_updated_time =", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotEqualTo(Date value) {
            addCriterion("last_updated_time <>", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThan(Date value) {
            addCriterion("last_updated_time >", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("last_updated_time >=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThan(Date value) {
            addCriterion("last_updated_time <", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeLessThanOrEqualTo(Date value) {
            addCriterion("last_updated_time <=", value, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeIn(List<Date> values) {
            addCriterion("last_updated_time in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotIn(List<Date> values) {
            addCriterion("last_updated_time not in", values, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeBetween(Date value1, Date value2) {
            addCriterion("last_updated_time between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }

        public Criteria andLastUpdatedTimeNotBetween(Date value1, Date value2) {
            addCriterion("last_updated_time not between", value1, value2, "lastUpdatedTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}